{% extends 'BXTRAdminBundle:Layout:Edit.html.twig' %}

{% block form_inner %}
        {# fields #}
        {{ form_row(form.name) }}
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                {# calling form_widget instead of row on buttons remove the wraping div, so they are aligned under the form #}
                {{ form_widget(form.save) }}
                <div class="pull-right">
                    {{ form_widget(form.back) }}
                </div>
            </div>
        </div>
{% endblock %}
